import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/index'
import RouterRecycle from '@/recycle/router'
import RouterActivity from '@/activities/router'
import LevyActivity from '@/levy/router'
import DeviceActivity from '@/device/router'
import App from '@/App/router'
import default404 from '@/common/default404'

Vue.use(Router)

console.log(DeviceActivity.children);

export default new Router({
  //mode: 'history',
  routes: [
    { path: '*', component: default404 },
    { path:'/',component:Index},
    RouterRecycle,
    RouterActivity,
    DeviceActivity,
    App,
    LevyActivity
  ]
})
